<?php
//$a=[0,4,"a",5,2.5];
//echo $a[4];
//$a[5]="b";
//print_r($a);

//$a=["ali" => 2,"alim"=>13];
//echo $a['alim'];

//$arr=["ads"=>"深圳城","com"=>"aynak"];
//echo $arr['ads'];
//echo $arr['person']=12;
// $arr["com"]="一号线";
// print_r($arr);

//$b=[[1,2],[4,5],7,8];
//print_r($b[1]);

//$kop = ['aynak'=>['person'=>12,'ads'=>"shenzhen","zijin"=>"500w"],'yhx'=>['person'=>4,'ads'=>"kashi","zijin"=>"300w"]];
//echo $kop['aynak']['zijin'];

//$a=[0,4,"a",5,2.5];
//echo $a[3];
//$a=[0,2,5,"d",8,9];
//echo $a[5];
//$a[6]="4.5";
//$a[7]="q";
//print_r

//$arr=["a","b","c",3.4,5,"d"];
//$a=0;
//for($a;$a<count($arr);$a++){
//    if (is_numeric($arr[$a])){
//        echo $arr[$a]*2;
//    }else if(is_string($arr[$a])){
//        echo $arr[$a].'a';
//    }
//    echo '<br>';
//}

//$arr=["a","b","c","d",5,6,"w"];
//$a=0;
//for($a;$a<count($arr);$a++){
//    if(is_numeric($arr[$a])){
//        echo $arr[$a]*2;
//    }else if(is_string($arr[$a])){
//        echo $arr[$a].'a';
//    }
//    echo '<br>';
//}


//$arr=["a","b","e","t",4.5,9,"p"];
//$a=0;
//for($a;$a<count($arr);$a++){
//    if(is_numeric($arr[$a])){
//        echo $arr[$a]*2;
//    }else if(is_string($arr[$a])){
//        echo $arr[$a].'a';
//    }
//    echo '<br>';
//}

//$arr=["a","f","d",4,5.2,"w"];
//$a=0;
//for($a;$a<count($arr);$a++){
//    if(is_numeric($arr[$a])){
//      echo $arr[$a]*2;
//    }else if(is_string($arr[$a])){
//        echo $arr[$a].'a';
//    }
//    echo '<br>';
//}
//$arr=["a","f","d",4,5.2,"w"];
//$a=0;
//for($a;$a<count($arr);$a++){
//if(is_numeric($arr[$a])){
//    echo $arr[$a]*2;
//}else if(is_string($arr[$a])) {
//    echo $arr[$a] . 'a';
//}
//echo '<br>';
//}

//$arr=["a","b","c",5,6,"r"];
//
//foreach ($arr as $a){
//    echo $a;
//    echo "<br>";
//}
//$a=array("a","f","d",4,5.2,"w");
//$b=array(71,56,12,2);
//$c = array("com"=>"aynak","person"=>"Ayjamal","ads"=>"SHZHCH");
//print_r($a);
//$c=array_merge($a,$b);
//print_r($c);
//    $d=array_pop($a);
//$c = array_push($a,"a","b");
//print_r(array_sum($a));
//print_r(count($a));
//print_r(in_array("w",$a));

//if(in_array("n",$a)){
//    echo "bar";
//
//}else{
//    echo "yok";
//}


//if(rsort($c)){
//    print_r($c);
//}else {
//    echo "sort yok !";
//}
//print_r(array_search("aynak",$a));
//print_r(array_slice("$b,2,2"));
//print_r(array_key_exists"com",$c);

//if(array_key_exists('aynak',$b)){
//    echo $b['aynak'];
//
//}else{
//    echo "yok";
//}
//$a=array("a","f","d",4,5.2,"w");
//$b=array(71,56,12,2,95);
//$c = array("com"=>"baidu","person"=>"alim","ads"=>"kashi");
//print_r($c);
//$c=array_merge($a,$b,$c);
//print_r($c);

//$a=array_pop($a);
//$a=array_push($a,"d","w");

//print_r(array_sum($c));
//print_r(count($b));

//if(in_array("baidu",$c)){
//    echo "bar";
//}else{
//    echo "yok";
//}

//if(in_array("7",$b)){
//    echo "bar";
//
//}else{
//    echo "yok";
//}

//$a=array("a","f","d",4,5.2,"w");
//$a=range("a","z");
//print_r($a)

//$a=array("a","f","d",4,5.2,"w");
//$a=range(3,100,3);
//print_r($a)

//$a=array("a","f","d",4,5.2,"w");
//$a=range("A","z");
//print_r($a);

//$c = array("com"=>"baidu","person"=>"alim","ads"=>"kashi");
//if(rsort($c)){
//   print_r($c);
//}else{
//    echo "sort yok!";
//}

//$a=array("a","f","d",4,5.2,7,"w");
//if(rsort($a)){
//    print_r($a);
//}else{
//    echo "sort yok!";
//}

//function b(){
//    $a=0;
//    $sum=0;
//    while ($a<=100){
//        $sum=$sum+$a;
//        $a++;
//    }
//    echo $sum;
//}
//b();

//function b(){
//    $a=10;
//    $sum=0;
//    while ($a<=100){
//        $sum=$sum+$a;
//        $a++;
//    }
//    echo $sum;
//}
//b();

//function a(){
//    $sum=100;
//    for ($a=0;$a<=100;$a++){
//        $sum=$sum+$a;
//    }
//    echo  $sum;
//
//}
//a();

//function b(){
//    $sum=100;
//    for ($b=0;$b<=100;$b++){
//        $sum=$sum+$b;
//    }
//    echo $sum;
//}
//b();

//$ay=9;
//switch ($ay){
//    case 1:
//        echo "kix";
//        break;
//    case 2:
//        echo "kix";
//        break;
//    case 12:
//        echo "kix";
//        break;
//    case 3:
//        echo "bahar";
//        break;
//    case 4:
//        echo "bahar";
//        break;
//    case 5:
//        echo "bahar";
//        break;
//    case 6:
//        echo "yaz";
//        break;
//    case 7:
//        echo "yaz";
//        break;
//    case 8:
//        echo "yaz";
//        break;
//    case 9:
//        echo "kuz";
//        break;
//    case 10:
//        echo "kuz";
//        break;
//    case 11:
//        echo "kuz";
//        break;
//
//        echo $ay;
//
//}

//$kun=1;
//if ($kun==6){
//    echo "xiayu";
//}else if($kun==7){
//    echo "uquk";
//}else{
//    echo "bzd";
//}echo $kun;


//$arr=["a","b","c","q",5,7,"r"];
//$a=0;
//for ($a;$a<count($arr);$a++){
//    if(is_numeric($arr[$a])){
//        echo $arr[$a]*2;
//    }else if(is_string($arr [$a])){
//        echo $arr [$a].'a';
//    }
//    echo '<br>';
//}


//for ($tohu=0;$tohu<=48;$tohu++){
//    $toxkan=48 - $tohu;
//    if ($tohu*2 + $toxkan*4==108){
//        echo "tohusani".$tohu."toxkansani".$toxkan;
//    }
//}




?>





